// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import Mint from 'mint-ui'
import Es6Promise from 'es6-promise'
import 'mint-ui/lib/style.css'

Vue.config.productionTip = false

import ACApi from '@/assets/js/ACApi'
import LocalStorageUtil from '@/assets/js/LocalStorageUtil'
import bloodpicker from '@/components/bloodSelect'
import addressPicker from '@/components/addressPicker'
import relativePicker from '@/components/relativePicker'

Vue.prototype.ACApi = ACApi
Vue.prototype.LocalStorageUtil = LocalStorageUtil
Vue.prototype.$bloodpicker = bloodpicker
Vue.prototype.$addresspicker = addressPicker
Vue.prototype.$relativepicker = relativePicker

Es6Promise.polyfill()
Vue.use(Mint)
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
